package org.dromara.websocket.message;


import org.dromara.websocket.connection.Connection;

/**
 * Created by       PokerFace
 * Create Date      2023-09-28
 * Email:
 * Version          1.0.0
 * <p>
 * Description:
 */
public interface MessageListener {


    /**
     *  收到消息
     *
     * @param connection
     * @param content
     */
    void onMessage(Connection connection, String content);
}
